package org.cnccc.dao.util;

import java.io.IOException;
import java.util.Properties;

public class DaoConfig {
	private static Properties prop = new Properties();
	static{
		try {
			prop.load(DaoConfig.class.getClassLoader().getResourceAsStream("org/cnccc/dao/util/dao.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	public static String getValue(String key){
		return prop.getProperty(key);
	}
}
